package com.data.modules.online.cgform.model;

import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import com.data.common.system.vo.DictModel;
import com.data.modules.online.cgform.entity.OnlCgformButton;

public class OnlComplexModel implements Serializable {

    private static final long f145b = 1;

    List<HrefSlots> f146a;

    private String f147c;

    private String f148d;

    private String f149e;

    private String f150f;

    private Integer f151g;

    private String f152h;

    private String f153i;

    private Integer f154j;

    private List<OnlColumn> f155k;

    private List<String> f156l;

    private Map<String, List<DictModel>> f157m = new HashMap();

    private List<OnlCgformButton> f158n;

    private String f159o;

    private List<OnlForeignKey> f160p;

    private String f161q;

    private String f162r;

    private String f163s;

    private String f164t;

    private String f165u;

    private Integer f166v;


    public boolean mo749a(Object obj) {
        return obj instanceof OnlComplexModel;
    }

    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof OnlComplexModel)) {
            return false;
        }
        OnlComplexModel onlComplexModel = (OnlComplexModel) o;
        if (!onlComplexModel.mo749a(this)) {
            return false;
        }
        Integer tableType = getTableType();
        Integer tableType2 = onlComplexModel.getTableType();
        if (tableType != null ? !tableType.equals(tableType2) : tableType2 != null) {
            return false;
        }
        Integer scrollFlag = getScrollFlag();
        Integer scrollFlag2 = onlComplexModel.getScrollFlag();
        if (scrollFlag != null ? !scrollFlag.equals(scrollFlag2) : scrollFlag2 != null) {
            return false;
        }
        Integer relationType = getRelationType();
        Integer relationType2 = onlComplexModel.getRelationType();
        if (relationType != null ? !relationType.equals(relationType2) : relationType2 != null) {
            return false;
        }
        String code = getCode();
        String code2 = onlComplexModel.getCode();
        if (code != null ? !code.equals(code2) : code2 != null) {
            return false;
        }
        String formTemplate = getFormTemplate();
        String formTemplate2 = onlComplexModel.getFormTemplate();
        if (formTemplate != null ? !formTemplate.equals(formTemplate2) : formTemplate2 != null) {
            return false;
        }
        String description = getDescription();
        String description2 = onlComplexModel.getDescription();
        if (description != null ? !description.equals(description2) : description2 != null) {
            return false;
        }
        String currentTableName = getCurrentTableName();
        String currentTableName2 = onlComplexModel.getCurrentTableName();
        if (currentTableName != null ? !currentTableName.equals(currentTableName2) : currentTableName2 != null) {
            return false;
        }
        String paginationFlag = getPaginationFlag();
        String paginationFlag2 = onlComplexModel.getPaginationFlag();
        if (paginationFlag != null ? !paginationFlag.equals(paginationFlag2) : paginationFlag2 != null) {
            return false;
        }
        String checkboxFlag = getCheckboxFlag();
        String checkboxFlag2 = onlComplexModel.getCheckboxFlag();
        if (checkboxFlag != null ? !checkboxFlag.equals(checkboxFlag2) : checkboxFlag2 != null) {
            return false;
        }
        List<OnlColumn> columns = getColumns();
        List<OnlColumn> columns2 = onlComplexModel.getColumns();
        if (columns != null ? !columns.equals(columns2) : columns2 != null) {
            return false;
        }
        List<String> hideColumns = getHideColumns();
        List<String> hideColumns2 = onlComplexModel.getHideColumns();
        if (hideColumns != null ? !hideColumns.equals(hideColumns2) : hideColumns2 != null) {
            return false;
        }
        Map<String, List<DictModel>> dictOptions = getDictOptions();
        Map<String, List<DictModel>> dictOptions2 = onlComplexModel.getDictOptions();
        if (dictOptions != null ? !dictOptions.equals(dictOptions2) : dictOptions2 != null) {
            return false;
        }
        List<OnlCgformButton> cgButtonList = getCgButtonList();
        List<OnlCgformButton> cgButtonList2 = onlComplexModel.getCgButtonList();
        if (cgButtonList != null ? !cgButtonList.equals(cgButtonList2) : cgButtonList2 != null) {
            return false;
        }
        List<HrefSlots> fieldHrefSlots = getFieldHrefSlots();
        List<HrefSlots> fieldHrefSlots2 = onlComplexModel.getFieldHrefSlots();
        if (fieldHrefSlots != null ? !fieldHrefSlots.equals(fieldHrefSlots2) : fieldHrefSlots2 != null) {
            return false;
        }
        String enhanceJs = getEnhanceJs();
        String enhanceJs2 = onlComplexModel.getEnhanceJs();
        if (enhanceJs != null ? !enhanceJs.equals(enhanceJs2) : enhanceJs2 != null) {
            return false;
        }
        List<OnlForeignKey> foreignKeys = getForeignKeys();
        List<OnlForeignKey> foreignKeys2 = onlComplexModel.getForeignKeys();
        if (foreignKeys != null ? !foreignKeys.equals(foreignKeys2) : foreignKeys2 != null) {
            return false;
        }
        String pidField = getPidField();
        String pidField2 = onlComplexModel.getPidField();
        if (pidField != null ? !pidField.equals(pidField2) : pidField2 != null) {
            return false;
        }
        String hasChildrenField = getHasChildrenField();
        String hasChildrenField2 = onlComplexModel.getHasChildrenField();
        if (hasChildrenField != null ? !hasChildrenField.equals(hasChildrenField2) : hasChildrenField2 != null) {
            return false;
        }
        String textField = getTextField();
        String textField2 = onlComplexModel.getTextField();
        if (textField != null ? !textField.equals(textField2) : textField2 != null) {
            return false;
        }
        String isDesForm = getIsDesForm();
        String isDesForm2 = onlComplexModel.getIsDesForm();
        if (isDesForm != null ? !isDesForm.equals(isDesForm2) : isDesForm2 != null) {
            return false;
        }
        String desFormCode = getDesFormCode();
        String desFormCode2 = onlComplexModel.getDesFormCode();
        if (desFormCode == null) {
            if (desFormCode2 == null) {
                return true;
            }
        } else if (desFormCode.equals(desFormCode2)) {
            return true;
        }
        return false;
    }

    public int hashCode() {
        int i = 43;
        Integer tableType = getTableType();
        int hashCode = tableType == null ? 43 : tableType.hashCode();
        Integer scrollFlag = getScrollFlag();
        int i2 = (hashCode + 59) * 59;
        int hashCode2 = scrollFlag == null ? 43 : scrollFlag.hashCode();
        Integer relationType = getRelationType();
        int i3 = (hashCode2 + i2) * 59;
        int hashCode3 = relationType == null ? 43 : relationType.hashCode();
        String code = getCode();
        int i4 = (hashCode3 + i3) * 59;
        int hashCode4 = code == null ? 43 : code.hashCode();
        String formTemplate = getFormTemplate();
        int i5 = (hashCode4 + i4) * 59;
        int hashCode5 = formTemplate == null ? 43 : formTemplate.hashCode();
        String description = getDescription();
        int i6 = (hashCode5 + i5) * 59;
        int hashCode6 = description == null ? 43 : description.hashCode();
        String currentTableName = getCurrentTableName();
        int i7 = (hashCode6 + i6) * 59;
        int hashCode7 = currentTableName == null ? 43 : currentTableName.hashCode();
        String paginationFlag = getPaginationFlag();
        int i8 = (hashCode7 + i7) * 59;
        int hashCode8 = paginationFlag == null ? 43 : paginationFlag.hashCode();
        String checkboxFlag = getCheckboxFlag();
        int i9 = (hashCode8 + i8) * 59;
        int hashCode9 = checkboxFlag == null ? 43 : checkboxFlag.hashCode();
        List<OnlColumn> columns = getColumns();
        int i10 = (hashCode9 + i9) * 59;
        int hashCode10 = columns == null ? 43 : columns.hashCode();
        List<String> hideColumns = getHideColumns();
        int i11 = (hashCode10 + i10) * 59;
        int hashCode11 = hideColumns == null ? 43 : hideColumns.hashCode();
        Map<String, List<DictModel>> dictOptions = getDictOptions();
        int i12 = (hashCode11 + i11) * 59;
        int hashCode12 = dictOptions == null ? 43 : dictOptions.hashCode();
        List<OnlCgformButton> cgButtonList = getCgButtonList();
        int i13 = (hashCode12 + i12) * 59;
        int hashCode13 = cgButtonList == null ? 43 : cgButtonList.hashCode();
        List<HrefSlots> fieldHrefSlots = getFieldHrefSlots();
        int i14 = (hashCode13 + i13) * 59;
        int hashCode14 = fieldHrefSlots == null ? 43 : fieldHrefSlots.hashCode();
        String enhanceJs = getEnhanceJs();
        int i15 = (hashCode14 + i14) * 59;
        int hashCode15 = enhanceJs == null ? 43 : enhanceJs.hashCode();
        List<OnlForeignKey> foreignKeys = getForeignKeys();
        int i16 = (hashCode15 + i15) * 59;
        int hashCode16 = foreignKeys == null ? 43 : foreignKeys.hashCode();
        String pidField = getPidField();
        int i17 = (hashCode16 + i16) * 59;
        int hashCode17 = pidField == null ? 43 : pidField.hashCode();
        String hasChildrenField = getHasChildrenField();
        int i18 = (hashCode17 + i17) * 59;
        int hashCode18 = hasChildrenField == null ? 43 : hasChildrenField.hashCode();
        String textField = getTextField();
        int i19 = (hashCode18 + i18) * 59;
        int hashCode19 = textField == null ? 43 : textField.hashCode();
        String isDesForm = getIsDesForm();
        int i20 = (hashCode19 + i19) * 59;
        int hashCode20 = isDesForm == null ? 43 : isDesForm.hashCode();
        String desFormCode = getDesFormCode();
        int i21 = (hashCode20 + i20) * 59;
        if (desFormCode != null) {
            i = desFormCode.hashCode();
        }
        return i21 + i;
    }

    public void setCgButtonList(List<OnlCgformButton> cgButtonList) {
        this.f158n = cgButtonList;
    }

    public void setCheckboxFlag(String checkboxFlag) {
        this.f153i = checkboxFlag;
    }

    public void setCode(String code) {
        this.f147c = code;
    }

    public void setColumns(List<OnlColumn> columns) {
        this.f155k = columns;
    }

    public void setCurrentTableName(String currentTableName) {
        this.f150f = currentTableName;
    }

    public void setDesFormCode(String desFormCode) {
        this.f165u = desFormCode;
    }

    public void setDescription(String description) {
        this.f149e = description;
    }

    public void setDictOptions(Map<String, List<DictModel>> dictOptions) {
        this.f157m = dictOptions;
    }

    public void setEnhanceJs(String enhanceJs) {
        this.f159o = enhanceJs;
    }

    public void setFieldHrefSlots(List<HrefSlots> fieldHrefSlots) {
        this.f146a = fieldHrefSlots;
    }

    public void setForeignKeys(List<OnlForeignKey> foreignKeys) {
        this.f160p = foreignKeys;
    }

    public void setFormTemplate(String formTemplate) {
        this.f148d = formTemplate;
    }

    public void setHasChildrenField(String hasChildrenField) {
        this.f162r = hasChildrenField;
    }

    public void setHideColumns(List<String> hideColumns) {
        this.f156l = hideColumns;
    }

    public void setIsDesForm(String isDesForm) {
        this.f164t = isDesForm;
    }

    public void setPaginationFlag(String paginationFlag) {
        this.f152h = paginationFlag;
    }

    public void setPidField(String pidField) {
        this.f161q = pidField;
    }

    public void setRelationType(Integer relationType) {
        this.f166v = relationType;
    }

    public void setScrollFlag(Integer scrollFlag) {
        this.f154j = scrollFlag;
    }

    public void setTableType(Integer tableType) {
        this.f151g = tableType;
    }

    public void setTextField(String textField) {
        this.f163s = textField;
    }

    public String toString() {
        return "OnlComplexModel(code=" + getCode() + ", formTemplate=" + getFormTemplate() + ", description=" + getDescription() + ", currentTableName=" + getCurrentTableName() + ", tableType=" + getTableType() + ", paginationFlag=" + getPaginationFlag() + ", checkboxFlag=" + getCheckboxFlag() + ", scrollFlag=" + getScrollFlag() + ", columns=" + getColumns() + ", hideColumns=" + getHideColumns() + ", dictOptions=" + getDictOptions() + ", cgButtonList=" + getCgButtonList() + ", fieldHrefSlots=" + getFieldHrefSlots() + ", enhanceJs=" + getEnhanceJs() + ", foreignKeys=" + getForeignKeys() + ", pidField=" + getPidField() + ", hasChildrenField=" + getHasChildrenField() + ", textField=" + getTextField() + ", isDesForm=" + getIsDesForm() + ", desFormCode=" + getDesFormCode() + ", relationType=" + getRelationType() + ")";
    }

    public String getCode() {
        return this.f147c;
    }

    public String getFormTemplate() {
        return this.f148d;
    }

    public String getDescription() {
        return this.f149e;
    }

    public String getCurrentTableName() {
        return this.f150f;
    }

    public Integer getTableType() {
        return this.f151g;
    }

    public String getPaginationFlag() {
        return this.f152h;
    }

    public String getCheckboxFlag() {
        return this.f153i;
    }

    public Integer getScrollFlag() {
        return this.f154j;
    }

    public List<OnlColumn> getColumns() {
        return this.f155k;
    }

    public List<String> getHideColumns() {
        return this.f156l;
    }

    public Map<String, List<DictModel>> getDictOptions() {
        return this.f157m;
    }

    public List<OnlCgformButton> getCgButtonList() {
        return this.f158n;
    }

    public List<HrefSlots> getFieldHrefSlots() {
        return this.f146a;
    }

    public String getEnhanceJs() {
        return this.f159o;
    }

    public List<OnlForeignKey> getForeignKeys() {
        return this.f160p;
    }

    public String getPidField() {
        return this.f161q;
    }

    public String getHasChildrenField() {
        return this.f162r;
    }

    public String getTextField() {
        return this.f163s;
    }

    public String getIsDesForm() {
        return this.f164t;
    }

    public String getDesFormCode() {
        return this.f165u;
    }

    public Integer getRelationType() {
        return this.f166v;
    }
}
